{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    {include file="form" /}
    <div class="cl pd-5 bg-1 bk-gray">
        <span class="l">
            {tp:menu menu="delete" /}
        </span>
        <span class="r pt-5 pr-5">
            共有数据 ：<strong>{$count ?? '0'}</strong> 条
        </span>
        <form action="/admin/card/excel" target="_blank" method="post">
            <input type="hidden" class="input-text" style="width:200px" placeholder="优惠码" name="number" value="{$Request.param.number}" >
            <input type="hidden" class="input-text" style="width:200px" placeholder="批次号" name="batch" value="{$Request.param.batch}" >
            <input type="hidden" class="input-text" style="width:200px" placeholder="销售姓名" name="realname" value="{$Request.param.realname}" >
            <input type="hidden" class="input-text" style="width:200px" placeholder="销售电话" name="mobile" value="{$Request.param.mobile}" >
            <input type="hidden" class="input-text" style="width:200px" placeholder="快递姓名" name="name" value="{$Request.param.name}" >
            <input type="hidden" class="input-text" style="width:200px" placeholder="快递电话" name="tel" value="{$Request.param.tel}" >
            <button class="btn btn-success" type="submit">导出Excel</button>
        </form>
    </div>
    <table class="table table-border table-bordered table-hover table-bg mt-20">
        <thead>
        <tr class="text-c">
            {include file="th" /}
            <th width="50">操作</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
        <tr class="text-c">
            {include file="td" /}
            <td class="f-14">
                {tp:menu menu='sedit' /}
                {tp:menu menu='sdelete' /}
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="page-bootstrap">{$page ?? ''}</div>
</div>
{/block}

